package com;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestHelloSpring {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("1/applicationContext.xml");
        //HelloSpring helloSpring = new HelloSpring();
        HelloSpring hellospring = (HelloSpring) context.getBean("helloSpring");
        hellospring.show();
    }
}
